/*
 * Copyright (C) 2011 bus.fm
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.busfm.model;

/**
 * @Description This is the basic class of songs.
 * 
 * @author DJ
 * @version 1.0
 * @Date 2011/08/21
 */
public class SongEntity {
    public String songId;
    public String title;
    public String location;
    public String artist;
    public String album;
    public String thumb;
    public String format;
    public int duration;
    public boolean isFavoriate;

    public SongEntity() {
        this.songId = "";
        this.title = "";
        this.location = "";
        this.artist = "";
        this.album = "";
        this.thumb = "";
        this.format = "";
        isFavoriate = false;
    }

    public SongEntity(
        String songId, String title, String location, String artist, String album, String thumb, String format) {
        this.songId = songId;
        this.title = title;
        this.location = location;
        this.artist = artist;
        this.album = album;
        this.thumb = thumb;
        this.format = format;
    }

    public String getSongId() {
        return songId;
    }

    public void setSongId(String songId) {
        this.songId = songId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getArtist() {
        return artist;
    }

    public void setArtist(String artist) {
        this.artist = artist;
    }

    public String getAlbum() {
        return album;
    }

    public void setAlbum(String album) {
        this.album = album;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public int getDuration() {
        return duration;
    }

    public boolean getIsFavoriate() {
        return isFavoriate;
    }

    public void setIsFavoriate(boolean isFavoriate) {
        this.isFavoriate = isFavoriate;
    }
}
